package com.competition.system.pojo;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Lyq
 * @version 1.0
 * @create 2020/12/16 0:38
 */
@Data
@ToString
@Entity
@Table(name = "teacher")
public class Teacher {

    @Id
    private String id;
    private String account; //工号
    private String name;    //姓名
    private String password;    //密码
    private String rank; //职称
    private String description;   //描述
    private String note;    //备注

}
